package com.learn.designPatterns.createType.factoryMethod;

/**
 * @classname:
 * @Description:
 * @author: yfpu
 * @Date: 2018-08-29 20:16
 */
public abstract class Factory {

    public abstract Factory getFactoryMethod();

    public void doSomething() {
        Factory factoryMethod = getFactoryMethod();
        //do something with the product
    }
}
